package com.ruoyi.industry.mapper;

import java.util.List;
import com.ruoyi.industry.domain.ProjectAuction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 项目-拍卖Mapper接口
 *
 * @author MagicCube
 * @date 2023-05-18
 */
@Mapper
public interface ProjectAuctionMapper
{
    /**
     * 查询项目-拍卖
     *
     * @param id 项目-拍卖主键
     * @return 项目-拍卖
     */
    public ProjectAuction selectProjectAuctionById(Long id);

    /**
     * 查询项目-拍卖列表
     *
     * @param projectAuction 项目-拍卖
     * @return 项目-拍卖集合
     */
    public List<ProjectAuction> selectProjectAuctionList(ProjectAuction projectAuction);
    public List<ProjectAuction> selectProjectAuctionListz(ProjectAuction projectAuction);

    /**
     * 新增项目-拍卖
     *
     * @param projectAuction 项目-拍卖
     * @return 结果
     */
    public int insertProjectAuction(ProjectAuction projectAuction);

    /**
     * 修改项目-拍卖
     *
     * @param projectAuction 项目-拍卖
     * @return 结果
     */
    public int updateProjectAuction(ProjectAuction projectAuction);

    /**
     * 删除项目-拍卖
     *
     * @param id 项目-拍卖主键
     * @return 结果
     */
    public int deleteProjectAuctionById(Long id);

    /**
     * 批量删除项目-拍卖
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectAuctionByIds(Long[] ids);

    public List<ProjectAuction> selectProjectAuctionByIds(@Param("ids") Long[] ids);

    ProjectAuction selectProjectAuctionByNumber(String spaceId);

    int updatePageViews(String spaceId);
}
